Package com.cisco.pt.ipc.sim.impl
Class ZonePairImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.ZonePairImpl
Information provided by the PKI file:
\class ZonePair
\brief ZonePair holds and manipulates information about the configured zone pairs.
\example network().getDevice("Router0").getProcess("ZfwProcess").getZonePairEntryAt(0)
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionZonePairImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionInformation provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:voidsetDestZone(String name) Information provided by the PKI file:voidsetPolicyMap(String name) Information provided by the PKI file:voidsetSrcZone(String name) Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Constructor Details
-
ZonePairImpl
public ZonePairImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
getSrcZone
Information provided by the PKI file:
\brief Returns the source zone in the zone pair. \return string, the source zone in the zone pair.- Specified by:
getSrcZonein interfaceZonePair- Returns:
- String Returns a String
-
getDestZone
Information provided by the PKI file:
\brief Returns the destinaton zone in the zone pair. \return string, the destinaton zone in the zone pair.- Specified by:
getDestZonein interfaceZonePair- Returns:
- String Returns a String
-
setSrcZone
Information provided by the PKI file:
\brief Sets the source zone. \param name, the name of the source zone.- Specified by:
setSrcZonein interfaceZonePair- Parameters:
name- Takes in a parameter of name
-
setDestZone
Information provided by the PKI file:
\brief Sets the destinaton zone. \param name, the name of the destinaton zone.- Specified by:
setDestZonein interfaceZonePair- Parameters:
name- Takes in a parameter of name
-
getPolicyMap
Information provided by the PKI file:
\brief Returns the name of the policy map for this zone pair. \returns string, the name of the policy map for this zone pair.- Specified by:
getPolicyMapin interfaceZonePair- Returns:
- String Returns a String
-
setPolicyMap
Information provided by the PKI file:
\brief Sets the name of the policy map for this zone pair. \param name, the name of the policy map for this zone pair.- Specified by:
setPolicyMapin interfaceZonePair- Parameters:
name- Takes in a parameter of name
-